package com.sunday.electric.http;

import com.sunday.electric.entity.Token;

import retrofit2.Call;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;

/**
 * Created by Administrator on 2016/1/26.
 */
public interface IMService {
    @FormUrlEncoded
    @POST("/user/getToken.json")
    Call<Token> getToken(@Field("userId") String userId, @Field("name") String name, @Field("portraitUri") String portraitUri);
}
